
Access2Web 1.2
Inserting data from database.

Access2Web gives you two options when it comes to inserting data from the database. Field simply puts the data from that particular field onto the web page. Dobbelt click on the database field and the tag (<§ [Field name] §>) is created in the editor.
If the database field contains the string "Hello", then "Hello" would appear in the HTML code when the files are built. If the database contains a null string the tag would have no impact on the final HTML code.
Sometimes it is useful to take special action in case the field is empty. For this purpose you will use the
If Empty tag. This tag makes it possible to take some kind of action in case the field in the database is empty. Right click (or press Ctrl + E) on the database field and the tag (<§ IF_EMPTY="" ELSE="" [Field name] END="" §>) is created.
|